
from rest_framework import serializers

from banner.models import Banner


class BannerSerializer(serializers.Serializer):
    name = serializers.IntegerField(source='id')
    image = serializers.CharField()
    link = serializers.CharField()
